import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

export default new Vuex.Store({
	state: {
		data: 6
	},
	mutations: {
		SET_DATA(stete, value){
			state.data=value
		}
	},
	actions:{
		COMMIT_SET_DATA({commit}){
			commit('SET_DATA')
		}
	}
})